package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author ding
 * @since 2021-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order_shopify_ship")
public class OrderShopifyShipDo extends Model<OrderShopifyShipDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("order_id")
    private Long orderId;

    @TableField("location_id")
    private Long locationId;

    /**
     * status
     */
    @TableField("status")
    private String status;

    /**
     * 运输状态
     */
    @TableField("shipment_status")
    private String shipmentStatus;

    /**
     * 运输公司
     */
    @TableField("tracking_company")
    private String trackingCompany;

    /**
     * 单号
     */
    @TableField("tracking_number")
    private String trackingNumber;

    /**
     * 更新日期
     */
    @TableField("updated_at")
    private Date updatedAt;

    /**
     * 创建日期
     */
    @TableField("created_at")
    private Date createdAt;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
